From dbaac8b6995e4d087efce6ba4ad3bdb2c5119146 Mon Sep 17 00:00:00 2001 From: Oleksandr Gavenko Date: Mon, 5 Sep 2011 12:55:11 +0300 Subject: [PATCH] * lisp/progmodes/grep.el (rgrep): Add "-type d". --- lisp/ChangeLog | 4 ++++ lisp/progmodes/grep.el | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 344385df473..1530fd73118 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-09-05 Oleksandr Gavenko (tiny change) + + * progmodes/grep.el (rgrep): Add "-type d" (bug#9414). + 2011-09-05 Juri Linkov * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084). diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 8cb3c314faf..de46dc19169 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -989,7 +989,8 @@ This command shares argument histories with \\[lgrep] and \\[grep-find]." dir (concat (and grep-find-ignored-directories - (concat (shell-quote-argument "(") + (concat "-type d " + (shell-quote-argument "(") ;; we should use shell-quote-argument here " -path " (mapconcat -- 2.30.2